package com.showgood.view.component {
	import flash.events.Event;
	import flash.events.IEventDispatcher;
	
	/**
	 * 用于显示的列表
	 * @author BianPeng
	 */
	public class IdNameItem implements IEventDispatcher {
		[Bindable]
		public var id:int;
		[Bindable]
		public var name:String;
		
		public function IdNameItem(id:int, name:String) {
			this.id = id; this.name = name;
		}
		
		/* INTERFACE flash.events.IEventDispatcher */
		public function dispatchEvent(event:Event):Boolean { trace(event); return true; }
		public function hasEventListener(type:String):Boolean { trace(type); return true; }
		public function willTrigger(type:String):Boolean {trace(type);return true;}
		public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void {trace(type);}
		public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void {trace(type);}
	}
}
